package command.example.cmd;

import command.example.receiver.TV;

public class SetChannel extends TVCommand {

	private int channel;

	public SetChannel(TV tv, int channel) {
		super(tv);
		this.channel = channel;
	}

	@Override
	public void execute() {
		tv.setChannel(channel);
	}

}
